package com.zr.vo.finance;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

public class FinanceIncome {

    //自增id
    private Integer id;

    //自增交易id
    private String incomeId;

    //交易时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date incomeTime;

    //交易金额
    private Integer amount;

    //交易类型
    private String type;

    //交易银行
    private String bank;

    //交易账号
    private String account;

    //自增id关联对账单id
    private String statementId;

    //关联对账单对象
    private FinanceStatement financeStatement;

    public FinanceStatement getFinanceStatement() {
        return financeStatement;
    }

    public void setFinanceStatement(FinanceStatement financeStatement) {
        this.financeStatement = financeStatement;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIncomeId() {
        return incomeId;
    }

    public void setIncomeId(String incomeId) {
        this.incomeId = incomeId == null ? null : incomeId.trim();
    }

    public Date getIncomeTime() {
        return incomeTime;
    }

    public void setIncomeTime(Date incomeTime) {
        this.incomeTime = incomeTime;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank == null ? null : bank.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId == null ? null : statementId.trim();
    }
}